home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-09-17 | 1.1 KB | 38 lines | [TEXT/KAHL] |
- The following file contains the Think C 3.0 source code for
- the Delta Sound conversion utility. After processing with
- Delta Sound, a sound file will usually compress to a smaller
- size with the Huffman (and often LZW) compression algorithm.
-
- This program does not reduce the amount of information in the
- file and the process is fully reversible. The source code is
- included so that interested people can improve it for their
- own purposes.
-
- What does the application do?
-
- 1) Start with Old=128.
- 2) Read a byte into New.
- 3) Write Old-New.
- 4) Old=New
- 5) Go to step 2 if there is more data.
-
- To reverse the process:
-
- 1) Start with Old=128.
- 2) Read a byte into New.
- 3) Old=Old-New
- 4) Write Old
- 5) Go to step 2 if there is more data.
-
- As you can see, the amount of information does not change.
- The resource fork is left intact. This means that it is not
- useful to try to use this program on files that have the
- sounds in the resource fork. A separate resource converter
- could be written.
-
- This process will usually save an additional 20% in your
- archives. The amount saved depends on the file, but higher
- sampling rates usually save more space.
-
- Juri Munkki
- jmunkki@hut.fi